package com.example.backend.mapper;

import com.example.backend.model.Product;

import java.util.List;

public interface ProductMapper {

    List<Product> allProducts();
    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int insert(Product record);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int insertSelective(Product record);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    Product selectByPrimaryKey(Integer id);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKeySelective(Product record);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKeyWithBLOBs(Product record);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKey(Product record);
}